testing.common.name (field)
53 uses
testing (current package)
benchmark.go#L222: if n := len(b.name) + ctx.extLen + 1; n > ctx.maxLen {
benchmark.go#L237: fmt.Fprintf(b.w, "--- FAIL: %s\n%s", b.name, b.output)
benchmark.go#L252: fmt.Fprintf(b.w, "--- %s: %s\n%s", tag, b.name, b.output)
benchmark.go#L543: name: "Main",
benchmark.go#L568: benchName := benchmarkName(b.name, procs)
benchmark.go#L579: name: b.name,
benchmark.go#L630: benchName, ok, partial := b.name, true, false
benchmark.go#L642: name: benchName,
fuzz.go#L257: c, err := f.fuzzContext.deps.ReadCorpus(filepath.Join(corpusDir, f.name), types)
fuzz.go#L285: testName := f.name
fuzz.go#L306: name: testName,
fuzz.go#L321: t.chatty.Updatef(t.name, "=== RUN %s\n", t.name)
fuzz.go#L349: corpusTargetDir := filepath.Join(corpusDir, f.name)
fuzz.go#L350: cacheTargetDir := filepath.Join(*fuzzCacheDir, f.name)
fuzz.go#L369: fmt.Fprintf(f.w, "To re-run:\ngo test -run=%s/%s\n", f.name, testName)
fuzz.go#L399: name := fmt.Sprintf("%s/%s", f.name, filepath.Base(e.Path))
fuzz.go#L414: f.flushToParent(f.name, format, "FAIL", f.name, dstr)
fuzz.go#L417: f.flushToParent(f.name, format, "SKIP", f.name, dstr)
fuzz.go#L419: f.flushToParent(f.name, format, "PASS", f.name, dstr)
fuzz.go#L506: name: testName,
fuzz.go#L517: f.chatty.Updatef(f.name, "=== RUN %s\n", f.name)
fuzz.go#L577: name: testName,
fuzz.go#L588: f.chatty.Updatef(f.name, "=== FUZZ %s\n", f.name)
fuzz.go#L657: root.flushToParent(root.name, "--- FAIL: %s (%s)\n", root.name, fmtDuration(d))
match.go#L73: name = m.unique(c.name, rewrite(subname))
testing.go#L514: name string // Name of test or benchmark.
testing.go#L796: return c.name
testing.go#L817: panic("Fail in goroutine after " + c.name + " has completed")
testing.go#L887: panic("Log in goroutine after " + c.name + " has completed: " + s)
testing.go#L895: c.chatty.Printf(c.name, "%s", c.decorate(s, depth+1))
testing.go#L1260: t.chatty.Updatef(t.name, "=== PAUSE %s\n", t.name)
testing.go#L1268: t.chatty.Updatef(t.name, "=== CONT %s\n", t.name)
testing.go#L1383: root.flushToParent(root.name, "--- FAIL: %s (%s)\n", root.name, fmtDuration(d))
testing.go#L1468: name: testName,
testing.go#L1479: t.chatty.Updatef(t.name, "=== RUN %s\n", t.name)
testing.go#L1758: t.flushToParent(t.name, format, "FAIL", t.name, dstr)
testing.go#L1761: t.flushToParent(t.name, format, "SKIP", t.name, dstr)
testing.go#L1763: t.flushToParent(t.name, format, "PASS", t.name, dstr)